package com.matt.domain;

import com.matt.commons.model.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

@Entity
@Data
@Table(name = "tb_check_report")
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
public class CheckReportDetail extends Model {

    @Column(columnDefinition = " varchar(32)  COMMENT '创建人'")
    private String created;

    @Column(columnDefinition = " datetime  COMMENT ' 创建时间'")
    private Date createTime;

    @Column(columnDefinition = " varchar(32)  COMMENT '宝宝id'")
    private String childId;

    @Column(columnDefinition = " varchar(32)  COMMENT '宝宝姓名'")
    private String childName;

    @Column(columnDefinition = " int  COMMENT '是否删除   0:未删除  1:已删除'")
    private Integer deleted;

    @Column(columnDefinition = " varchar(32)  COMMENT '晨检记录id'")
    private String checkId;

    @Column(columnDefinition = " TEXT  COMMENT '晨检报告详情'")
    private String checkResult;

}
